package com.woniuxy.principal;

import org.mybatis.spring.annotation.MapperScan;
import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.cloud.netflix.eureka.EnableEurekaClient;
import org.springframework.cloud.openfeign.EnableFeignClients;
import org.springframework.context.annotation.ComponentScan;

/**
 * @author： 雷鹏
 * Date: 2020/7/16 22:15
 */
@SpringBootApplication
@EnableEurekaClient
@MapperScan("com.woniuxy.principal.mapper")
@EnableFeignClients(basePackages = "com.woniuxy.commons.service")
@ComponentScan({
        "com.woniuxy.principal",
        "com.woniuxy.commons.interceptor"
})
public class PrincipalApplication {
    public static void main(String[] args) {
        SpringApplication.run(PrincipalApplication.class, args);
    }
}
